# Contributor: Erwan Rouchet <lucidiot@brainshit.fr>
# Maintainer: Erwan Rouchet <lucidiot@brainshit.fr>
pkgname=gnome-sudoku
pkgver=42.0
pkgrel=0
arch="all"
url="https://wiki.gnome.org/Apps/Sudoku"
pkgdesc="Test your logic skills in this number grid puzzle"
license="GPL-3.0-or-later"
makedepends="yelp-tools vala meson libgee-dev gtk+3.0-dev json-glib-dev qqwing-dev itstool"
source="https://download.gnome.org/sources/gnome-sudoku/${pkgver%.*}/gnome-sudoku-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	abuild-meson . build
	meson compile -C build
}

check() {
	meson test -C build --print-errorlogs
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}
sha512sums="
01f6dfdfe99a4acb4b664fd3573c64b154eea2b8b9964dd08448aa994d1ed6dbe7060157a496c3f895a049a4f267b9b5f9cfdf30b28656b6b2e63b7655d5a7b9  gnome-sudoku-42.0.tar.xz
"
